<template>
  <div id="app">
    <router-view/>
  </div>
</template>

<script>
  import enumData from "./utils/enum";
  import store from "@/store";
  export default {
    name: 'App',
    created() {
      enumData().then(res =>{
        console.log(res)
        store.commit("setEnumData",res)
      })
    },
  }
</script>

<style>
  #app {
    font-family: 'Avenir', Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-align: center;
    color: #2c3e50;
  }
</style>
